package com.breeze.jetpackproject.lifecycle;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import com.breeze.jetpackproject.R;

public class DemoActivity extends AppCompatActivity {
    private static final String TAG = "DemoActivity";
    private IPresenter mDemoPresenter;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_demo);
        mDemoPresenter = new DemoPresenter();
        getLifecycle().addObserver(mDemoPresenter);

    }
}